package com.ruoyi.service;

import com.ruoyi.domain.AdvInoutstock;
import com.ruoyi.domain.DeviceRestart;

import java.util.List;

/**
 * 【请填写功能名称】Service接口
 *
 * @author ruoyi
 * @date 2024-05-13
 */
public interface IAdvInoutstockService
{
    /**
     * 查询【请填写功能名称】
     *
     * @param advInoutstock 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    public AdvInoutstock selectAdvInoutstockByAdvInoutstock(Long advInoutstock);

    /**
     * 查询【请填写功能名称】列表
     *
     * @param advInoutstock 【请填写功能名称】
     * @return 【请填写功能名称】集合
     */
    public List<AdvInoutstock> selectAdvInoutstockList(AdvInoutstock advInoutstock);


    /**
     * 新增【请填写功能名称】
     *
     * @param advInoutstock 【请填写功能名称】
     * @return 结果
     */
    public int insertAdvInoutstock(AdvInoutstock advInoutstock);

    /**
     * 修改【请填写功能名称】
     *
     * @param advInoutstock 【请填写功能名称】
     * @return 结果
     */
    public int updateAdvInoutstock(AdvInoutstock advInoutstock);

    /**
     * 批量删除【请填写功能名称】
     *
     * @param advInoutstocks 需要删除的【请填写功能名称】主键集合
     * @return 结果
     */
    public int deleteAdvInoutstockByAdvInoutstocks(Long[] advInoutstocks);

    /**
     * 删除【请填写功能名称】信息
     *
     * @param advInoutstock 【请填写功能名称】主键
     * @return 结果
     */
    public int deleteAdvInoutstockByAdvInoutstock(Long advInoutstock);

    List<AdvInoutstock> getDeviceno(Long advMembersId);

    /**
     * 修改设备重启时间
     * @param advInoutstock
     * @return
     */
    int updateByRestartTime(AdvInoutstock advInoutstock);

    //批量修改设备重启时间
    int batchUpdateReboottime(List<Long> advInoutstock, String reboottime);

    int batchUpdateUpgrade(DeviceRestart deviceRestart);

    boolean syncSetting(AdvInoutstock advInoutstock);
}
